﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Data;

namespace Anata.WCF
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IService1
    {

        #region Test Service

        [OperationContract]
        Object TestService(Object value);

        [OperationContract]
        List<Object> TestServiceList(List<Object> value);

        [OperationContract]
        DataSet TestPullDataset(DateTime lastpull);

        #endregion

        #region Pull Operation

        [OperationContract]
        DataSet PullAgama(DateTime lastpull);

        [OperationContract]
        DataSet PullCabangLayanan(DateTime lastpull, int id_cabang);

        [OperationContract]
        DataSet PullCabangProduk(DateTime lastpull, int id_cabang);

        [OperationContract]
        DataSet PullFreeGift(DateTime lastpull, int id_cabang);

        [OperationContract]
        DataSet PullGolonganDarah(DateTime lastpull);

        [OperationContract]
        DataSet PullJenisAset(DateTime lastpull);

        [OperationContract]
        DataSet PullJenisPembayaran(DateTime lastpull);

        [OperationContract]
        DataSet PullJenisStok(DateTime lastpull);

        [OperationContract]
        DataSet PullKaryawan(DateTime lastpull, int id_cabang);

        [OperationContract]
        DataSet PullKaryawanLayanan(DateTime lastpull);

        [OperationContract]
        DataSet PullKonsumen(DateTime lastpull);

        [OperationContract]
        DataSet PullLayanan(DateTime lastpull);

        [OperationContract]
        DataSet PullPromo(DateTime lastpull, int id_cabang);

        [OperationContract]
        DataSet PullRole(DateTime lastpull);

        [OperationContract]
        DataSet PullStatus(DateTime lastpull);

        #endregion

        #region Push Operation

        [OperationContract]
        int PushKaryawanKehadiran(DataSet ds);

        [OperationContract]
        int PushKonsumen(DataSet ds);

        [OperationContract]
        int PushMutasiRekening(DataSet ds);

        [OperationContract]
        int PushMutasiStok(DataSet ds);

        [OperationContract]
        int PushStok(DataSet ds);

        [OperationContract]
        int PushTransaksi(DataSet ds);

        [OperationContract]
        int PushTransaksiLayanan(DataSet ds);

        [OperationContract]
        int PushTransaksiPembayaran(DataSet ds);

        [OperationContract]
        int PushTransaksiProduk(DataSet ds);

        #endregion

    }
}
